﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;

namespace Assignment3.Objects3D
{
    class Character
    {
        //Character position
        public Vector3 charPos;
        //Camera position relattive to character position
        public Vector3 camPos;
        //Bounding Sphere for the character
        private BoundingSphere camBorder;

        public BoundingSphere CamBorder
        {
            get { return camBorder; }
        }


        public Character(Vector3 charPos, Vector3 camPos)
        {
            this.charPos = charPos;
            this.camPos = camPos;
            camBorder = new BoundingSphere(charPos, 0.5f);
        }

        public void setSphereCenter(Vector3 value)
        {
            camBorder.Center = value;
        }
    }
}
